package com.bl.weilan.service.biz.train;
import com.bl.weilan.dao.model.TeacherTrainEntity;
import com.bl.weilan.dao.model.TrainEntity;
import com.bl.weilan.dao.redis.model.UserInfo;
import com.bl.weilan.service.vo.DelBody;
import com.bl.weilan.service.vo.DelListBody;
import com.bl.weilan.service.vo.train.*;
import org.springframework.data.domain.Pageable;

public interface TrainService {
    //通过id查询通知详情
    TrainEntity getTrainById(String trainId);
    //查询培训列表
    TrainListVo getTrainLists(Pageable pageable, UserInfo userInfo);
    //发布培训信息
    void addTrain(TrainAddVo trainAddVo);
    // manager 删除单条培训信息
    void del(DelBody id);
    //manager 批量删除培训
    void delList(DelListBody idList);
    //修改培训信息
    void modify(TrainModVo trainModVo);

    void addTeacherTrain(TeacherTrainAddVo teacherTrainAddVo);

    void modTeacherTrain(TeacherTrainModVo teacherTrainModVo);

    TeacherTrainEntity getTeacherTrain();

    void delTeacherTrain();
}
